//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.baidu.trace.model;

import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;

public final class TraceLocation extends BaseResponse implements Parcelable {
    private LocType a;
    private String b;
    private String c;
    private String d;
    private double e;
    private double f;
    private CoordType g;
    private double h;
    private float i;
    private float j;
    private int k;
    private String l;
    public static final Creator<TraceLocation> CREATOR = new a();

    public final LocType getLocType() {
        return this.a;
    }

    public final void setLocType(LocType var1) {
        this.a = var1;
    }

    public final String getFloor() {
        return this.b;
    }

    public final void setFloor(String var1) {
        this.b = var1;
    }

    public final String getIndoor() {
        return this.c;
    }

    public final void setIndoor(String var1) {
        this.c = var1;
    }

    public final String getBuilding() {
        return this.d;
    }

    public final void setBuilding(String var1) {
        this.d = var1;
    }

    public final double getLatitude() {
        return this.e;
    }

    public final void setLatitude(double var1) {
        this.e = var1;
    }

    public final double getLongitude() {
        return this.f;
    }

    public final void setLongitude(double var1) {
        this.f = var1;
    }

    public final CoordType getCoordType() {
        return this.g;
    }

    public final void setCoordType(CoordType var1) {
        this.g = var1;
    }

    public final double getRadius() {
        return this.h;
    }

    public final void setRadius(double var1) {
        this.h = var1;
    }

    public final String getTime() {
        return this.l;
    }

    public final void setTime(String var1) {
        this.l = var1;
    }

    public final float getDirection() {
        return this.i;
    }

    public final void setDirection(float var1) {
        this.i = var1;
    }

    public final float getSpeed() {
        return this.j;
    }

    public final void setSpeed(float var1) {
        this.j = var1;
    }

    public final int getAltitude() {
        return this.k;
    }

    public final void setAltitude(int var1) {
        this.k = var1;
    }

    public TraceLocation() {
        this.a = LocType.NONE;
        this.b = "";
        this.c = "";
        this.d = "";
        this.e = 0.0D;
        this.f = 0.0D;
        this.g = CoordType.bd09ll;
        this.h = 0.0D;
        this.i = 0.0F;
        this.j = 0.0F;
        this.k = 0;
        this.l = "";
    }

    public TraceLocation(int var1, int var2, String var3) {
        super(var1, var2, var3);
        this.a = LocType.NONE;
        this.b = "";
        this.c = "";
        this.d = "";
        this.e = 0.0D;
        this.f = 0.0D;
        this.g = CoordType.bd09ll;
        this.h = 0.0D;
        this.i = 0.0F;
        this.j = 0.0F;
        this.k = 0;
        this.l = "";
    }

    public TraceLocation(int var1, int var2, String var3, String var4, String var5, String var6, double var7, double var9, CoordType var11, double var12, float var14, float var15, int var16, String var17) {
        super(var1, var2, var3);
        this.a = LocType.NONE;
        this.b = "";
        this.c = "";
        this.d = "";
        this.e = 0.0D;
        this.f = 0.0D;
        this.g = CoordType.bd09ll;
        this.h = 0.0D;
        this.i = 0.0F;
        this.j = 0.0F;
        this.k = 0;
        this.l = "";
        this.b = var4;
        this.c = var5;
        this.d = var6;
        this.e = var7;
        this.f = var9;
        this.g = var11;
        this.h = var12;
        this.i = var14;
        this.j = var15;
        this.k = var16;
        this.l = var17;
    }

    private TraceLocation(Parcel var1) {
        this.a = LocType.NONE;
        this.b = "";
        this.c = "";
        this.d = "";
        this.e = 0.0D;
        this.f = 0.0D;
        this.g = CoordType.bd09ll;
        this.h = 0.0D;
        this.i = 0.0F;
        this.j = 0.0F;
        this.k = 0;
        this.l = "";
        this.readFromParcel(var1);
    }

    public final int describeContents() {
        return 0;
    }

    public final void writeToParcel(Parcel var1, int var2) {
        var1.writeString(this.b);
        var1.writeString(this.c);
        var1.writeString(this.d);
        var1.writeDouble(this.e);
        var1.writeDouble(this.f);
        var1.writeInt(this.g.ordinal());
        var1.writeDouble(this.h);
        var1.writeFloat(this.i);
        var1.writeFloat(this.j);
        var1.writeInt(this.k);
        var1.writeString(this.l);
    }

    public final void readFromParcel(Parcel var1) {
        this.b = var1.readString();
        this.c = var1.readString();
        this.d = var1.readString();
        this.e = var1.readDouble();
        this.f = var1.readDouble();
        switch(var1.readInt()) {
            case 0:
                this.g = CoordType.wgs84;
                break;
            case 1:
                this.g = CoordType.gcj02;
                break;
            case 2:
                this.g = CoordType.bd09ll;
        }

        this.h = var1.readDouble();
        this.i = var1.readFloat();
        this.j = var1.readFloat();
        this.k = var1.readInt();
        this.l = var1.readString();
    }

    public final String toString() {
        StringBuffer var1;
        (var1 = new StringBuffer("TraceLocation{")).append("tag=").append(this.tag);
        var1.append(", status=").append(this.status);
        var1.append(", message='").append(this.message).append('\'');
        var1.append(", locType=").append(this.a);
        var1.append(", floor='").append(this.b).append('\'');
        var1.append(", indoor='").append(this.c).append('\'');
        var1.append(", building='").append(this.d).append('\'');
        var1.append(", latitude=").append(this.e);
        var1.append(", longitude=").append(this.f);
        var1.append(", coordType=").append(this.g);
        var1.append(", radius=").append(this.h);
        var1.append(", direction=").append(this.i);
        var1.append(", speed=").append(this.j);
        var1.append(", altitude=").append(this.k);
        var1.append(", time='").append(this.l).append('\'');
        var1.append('}');
        return var1.toString();
    }
}
